<div class="page-header clearfix">
	<h1 class="col-sm-8">组件列表</h1>
	<div class="col-sm-4 pull-right search_box">
		<form name="form_search" id="form_search" method="post">
			<div class="input-group">
				<input  class="form-control" type="text" name="keyword" id="keyword"/>
				<div class="input-group-btn">
					<a class="btn btn-sm btn-info" onclick="submit_search();"><i class="icon-search" ></i></a>
					<a class="btn btn-sm btn-success" onclick="toggle_adv_search();"><i id="toggle_adv_search_icon" class="icon-chevron-down bigger-125"></i></a>
				</div>
			</div>
		</form>
	</div>
</div>
<form method="post" name="form_adv_search" id="form_adv_search">
	<div class="adv_search panel panel-default  display-none"  id="adv_search">
		<div class="panel-heading">
			<div class="row">
				<h4 class="col-xs-6">高级搜索</h4>
				<div class="col-xs-6 text-right">
					<a  class="btn btn-sm btn-info" onclick="submit_adv_search();">搜索</a>
					<a  class="btn btn-sm " onclick="close_adv_search();">关闭</a>
				</div>
			</div>
		</div>
		<div class="panel-body">
			<div class="form-group col-sm-6">
				<label class="col-sm-4 control-label" for="li_B">时间：</label>
				<div class="col-sm-8">
					<input  class="form-control" type="text" id="li_B" name="li_B" >
				</div>
			</div>
			<div class="form-group col-sm-6">
				<label class="col-sm-4 control-label" for="li_C">名称：</label>
				<div class="col-sm-8">
					<input  class="form-control" type="text" id="li_C" name="li_C" >
				</div>
			</div>
		</div>
	</div>
</form>

<div class="operate panel panel-default">
		<div class="panel-body">
			<div class="pull-left">
				<a class="btn btn-sm btn-danger" onclick="mark('del_forever');">删除</a>
			</div>
			<div class="pull-right">
				<a class="btn btn-sm btn-primary" onclick="import_data()">导入</a>
			</div>
		</div>
	</div>
	<div class="ul_table message-container">
	<ul>
			<div class="pagination"><?php echo $page;?></div>
			<li class="thead">
				<label class="inline pull-left col-3"><input class="ace" type="checkbox" name="id-toggle-all" id="id-toggle-all" /><span class="lbl"></span></label>
				<span class="col-8 text-center">ID</span>
				<span class="col-8 text-center">名称</span>
				<span class="col-8 text-center">操作</span>
			</li>
			<form method="post" action="" name="form_data" id="form_data">
			<?php foreach($lists as $list):?>
			<li class="tbody data_item">
				<label class="inline pull-left col-3"><input class="ace" type="checkbox" name="id[]" value="<?php echo $list['extension_id'];?>" /><span class="lbl"></span></label>
				<span class="col-8 text-center"><?php echo $list['extension_id'];?></span>
				<span class="col-8 text-center"><a href="<?php echo C('backend');?>index.php?com=<?php echo $list['alias'];?>" target="_self"><?php echo $list['title'];?></a></span>
				<span class="col-8 text-center">
					<a href="<?php echo C('backend');?>index.php?c=components&m=set&id=<?php echo $list['extension_id'];?>">配置</a> |
					<a href="javascript:void(0);" onclick="uninstallComponents(<?php echo $list['extension_id'];?>);">卸载</a>
				</span>
			</li>
			<?php endforeach;?>
			</form>
			<div class="pagination"><?php echo $page;?></div>
		</ul>
</div>